<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<link rel="stylesheet" href="/epayment/css/style.css" type="text/css">

<h1 id="Header"></h1>
<%
    boolean connected;
    if (session.getAttribute("connected") == null){
        connected = false;
    } else{
        connected = ((Boolean)session.getAttribute("connected")).booleanValue();
    }
%>
<div id="Sidebar"> 
  <div class="Box1"> 
    <h3 class="Boxtitle1">.Menu</h3>
		<UL>
                    <c:if test="${connected}">
                        <LI><A href="HomeCommand.do"><fmt:message key="menu.home"/></A></LI>
                        <LI><A href="LogoffCommand.do"><fmt:message key="menu.logoff"/></A></LI>
                    </c:if>
                    <c:if test="${!connected}">
                        <font color="#8092DF">
                        <LI><fmt:message key="menu.home"/></LI>
                        <LI><fmt:message key="menu.logoff"/></LI>
                        </font>
                    </c:if>
                    
		</UL>
  </div>  
  <div class="Box2"> 
    <h3 class="Boxtitle2">.<fmt:message key="menu.enroll"/></h3>
		<UL>
                    <c:if test="${connected}">
		        <LI><A href="ExecuteTypesCommand.do?opr=list"><fmt:message key="menu.typeofbill"/></A></LI>
                        <LI><A href="ExecuteBillsCommand.do?opr=list"><fmt:message key="menu.bill"/></A></LI>		    
                    </c:if>
                    <c:if test="${!connected}">
                        <font color="#FFBBDD">
                        <LI><fmt:message key="menu.typeofbill"/></LI>
                        <LI><fmt:message key="menu.bill"/></LI>
                        </font>
                    </c:if>  
		</UL>
  </div>  
  <div class="Box1"> 
    <h3 class="Boxtitle1">.<fmt:message key="menu.reports"/></h3>
		<UL>
                    <c:if test="${connected}">
                        <LI><A href="PrepareRptBillsByPeriodCommand.do"><fmt:message key="menu.billsbyperiod"/></A></LI>
                        <LI><A href="PrepareRptExpiredBillsCommand.do"><fmt:message key="menu.expiredbills"/></A></LI>
                    </c:if>
                    <c:if test="${!connected}">
                        <font color="#8092DF">
                        <LI><fmt:message key="menu.billsbyperiod"/></LI>
                        <LI><fmt:message key="menu.expiredbills"/></LI>
                        </font>
                    </c:if> 
		</UL>
  </div>
</div>